package com.hair.logy.core.utils;

public class BusinessException   extends  Exception{

    private    String   msg;
    private   Integer  code;
    public   BusinessException(Integer  code, String   msg){
        this.code=code;
        this.msg=msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
